package lab02.test15;

import java.util.*;

public class Graduate implements StudentInterface, TeacherInterface {
    String name;
    String sex;
    int age;
    int fee;
    int pay;

    Scanner sc = new Scanner(System.in);

    public void setFee() {
        int fe = sc.nextInt();
        fee = fe;
    }

    public int getFee() {
        return fee;
    }

    public void setPay() {
        int pa = sc.nextInt();
        pay = pa;
    }

    public int getPay() {
        return pay;
    }
}
